package com.axc.brilliant.dao;

import com.axc.brilliant.domain.WechatUserDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * ${comments}
 * @author admin
 * @email yfq900108@163.COM
 * @date 2019-08-10 23:47:19
 */
@Mapper
public interface WechatUserDao {

	WechatUserDO get(String id);
	
	List<WechatUserDO> list(Map<String, Object> map);

	int count(Map<String, Object> map);
	
	int save(WechatUserDO wechatUser);
	
	int update(WechatUserDO wechatUser);
	
	int remove(String ID);
	
	int batchRemove(String[] ids);
	
	// LayUi 分页查询
	List<WechatUserDO> PageLayUi_List_By_Query(WechatUserDO query);
	// 根据query，查询条数
	int total(WechatUserDO query);
	
	// 根据query ，查询并返回一条记录
	WechatUserDO Get_Model_By_Query(WechatUserDO query);
}
